package com.zdsoft.finance.busiform.entity;

import com.zdsoft.framework.core.common.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "ZF_BUSIFORM")
public class BusiForm extends BaseEntity {

       /**
        *
        */
       private static final long serialVersionUID = -7926164958600739409L;

       /**
        * 审批单编号
        */
       @Column(length = 32)
       private String busiFormNo;

       /**
        * 业务品种编号
        */
       @Column(length = 32)
       private String busiTypeCd;

       /**
        * 业务品种名称
        */
       @Column(length = 255)
       private String busiTypeNm;

       /**
        * 状态
        */
       @Column
       private Integer status;

       /**
        * 申请人编号
        */
       @Column(length = 32)
       private String applyEmpCd;

       /**
        * 申请人姓名
        */
       @Column(length = 255)
       private String applyEmpNm;

       /**
        * 申请时间
        */
       @Column
       private Long applyTime;

       /**
        * 完成时间
        */
       @Column
       private Long completeTime;

       /**
        * 废弃时间
        */
       @Column
       private Long terminateTime;

       /**
        * 关联业务表单id
        */
       @Column(length = 32)
       private String businessId;

       /**
        * 关联业务表单类型
        */
       @Column(length = 255)
       private String businessType;

       /**
        * 关联组件ID 例如 项目表ID 合同ID
        */
       @Column(length = 32)
       private String componentsId;

       /**
        * 关联组件数据类型 例如 项目表 合同表
        */
       @Column(length = 255)
       private String componentsType;

       /**
        * 流程实例key
        */
       @Column(length = 32)
       private String processInstanceKey;

       /**
        * 上会项目id
        */
       @Column(length = 32)
       private String meetingProjectId;

       public String getComponentsId() {
              return componentsId;
       }

       public void setComponentsId(String componentsId) {
              this.componentsId = componentsId;
       }

       public String getComponentsType() {
              return componentsType;
       }

       public void setComponentsType(String componentsType) {
              this.componentsType = componentsType;
       }

       public String getBusiFormNo() {
              return busiFormNo;
       }

       public void setBusiFormNo(String busiFormNo) {
              this.busiFormNo = busiFormNo;
       }

       public String getBusiTypeCd() {
              return busiTypeCd;
       }

       public void setBusiTypeCd(String busiTypeCd) {
              this.busiTypeCd = busiTypeCd;
       }

       public String getBusiTypeNm() {
              return busiTypeNm;
       }

       public void setBusiTypeNm(String busiTypeNm) {
              this.busiTypeNm = busiTypeNm;
       }

       public Integer getStatus() {
              return status;
       }

       public void setStatus(Integer status) {
              this.status = status;
       }

       public String getApplyEmpCd() {
              return applyEmpCd;
       }

       public void setApplyEmpCd(String applyEmpCd) {
              this.applyEmpCd = applyEmpCd;
       }

       public String getApplyEmpNm() {
              return applyEmpNm;
       }

       public void setApplyEmpNm(String applyEmpNm) {
              this.applyEmpNm = applyEmpNm;
       }

       public Long getApplyTime() {
              return applyTime;
       }

       public void setApplyTime(Long applyTime) {
              this.applyTime = applyTime;
       }

       public Long getCompleteTime() {
              return completeTime;
       }

       public void setCompleteTime(Long completeTime) {
              this.completeTime = completeTime;
       }

       public Long getTerminateTime() {
              return terminateTime;
       }

       public void setTerminateTime(Long terminateTime) {
              this.terminateTime = terminateTime;
       }

       public String getBusinessId() {
              return businessId;
       }

       public void setBusinessId(String businessId) {
              this.businessId = businessId;
       }

       public String getBusinessType() {
              return businessType;
       }

       public void setBusinessType(String businessType) {
              this.businessType = businessType;
       }

       public String getProcessInstanceKey() {
              return processInstanceKey;
       }

       public void setProcessInstanceKey(String processInstanceKey) {
              this.processInstanceKey = processInstanceKey;
       }

       public String getMeetingProjectId() {
              return meetingProjectId;
       }

       public void setMeetingProjectId(String meetingProjectId) {
              this.meetingProjectId = meetingProjectId;
       }

}
